package com.hlbspringcloud.contentcenter.feignclient;

import com.hlbspringcloud.contentcenter.domain.dto.uer.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description:
 * @PROJECT_NAME: spring-cloud-alibaba
 * @CLASS_NAME:
 * @Author: huanglibin
 * @Date: 2020-06-01 20:59
 * @Version: 1.0
 */
@FeignClient(name = "user-center")
public interface TestUserCenterFeignClient {

    @GetMapping("/users/get-test")
    UserDTO getUser(@SpringQueryMap UserDTO userDTO);
}
